/*
 * @Descripttion: 
 * @version: 0.0.0.1
 * @Author: chenyf15482
 * @Date: 2022-12-04 15:38:49
 * @LastEditors: chenyf15482
 * @LastEditTime: 2023-01-30 15:15:06
 */
import yfRender from './src/render.vue'
export { yfRender }
export default yfRender


// dialog.ts
// import { withInstall } from '@element-plus/utils'
// import Dialog from './src/dialog.vue'

// export const ElDialog = withInstall(Dialog)
// export default ElDialog

// export * from './src/use-dialog'
// export * from './src/dialog'


// withInstall.ts
// import { NOOP } from '@vue/shared'

// import type { App, Directive } from 'vue'
// import type { SFCInstallWithContext, SFCWithInstall } from './typescript'

// export const withInstall = <T, E extends Record<string, any>>(
//   main: T,
//   extra?: E
// ) => {
//   ;(main as SFCWithInstall<T>).install = (app): void => {
//     for (const comp of [main, ...Object.values(extra ?? {})]) {
//       app.component(comp.name, comp)
//     }
//   }

//   if (extra) {
//     for (const [key, comp] of Object.entries(extra)) {
//       ;(main as any)[key] = comp
//     }
//   }
//   return main as SFCWithInstall<T> & E
// }